<div class="ui-g">
  <div class="ui-g-3 border-spe-right border-spe-left" style="height:calc(100% - 55px)">
    <!--系统补全控件-->
    <p-autoComplete [suggestions]="suggestions" (completeMethod)="search($event)" [(ngModel)]="suggestion"
      placeholder="系统名称" [minLength]="1" field="unitName" delay="500" (onSelect)="selectSuggestion()"
      [style]="{'margin':'10px 15px 0px 10px', 'width':'100%'}" [inputStyle]="{'width':'95%'}">
    </p-autoComplete>

    <!--分割符-->
    <hr style="margin:8px 0 0 0;">
    <!--系统层级树-->
    <p-tree [value]="units" selectionMode="single" (onNodeSelect)="unitSelect($event)" [(selection)]="selectedUnit"
      (onNodeExpand)="unitNodeExpand($event)" emptyMessage="无数据" [loading]="loading"
      [style]="{'height': '100%','width':'100%','border-style':'none', 'padding':'0'}">
    </p-tree>
  </div>
  <div class="ui-g-9">
    <router-outlet></router-outlet>
  </div>
</div>